﻿#region 命名空间

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WinnerCMS.BLL;
using WinnerCMS.Common;
using WinnerCMS.Model;

#endregion

namespace WinnerCMS.WebUI.Controllers
{
    public partial class ContentController : ApiController
    {
        [HttpGet]
        public int ReadContentHits(int id, int pageNo)
        {
            return new CoreManage().UpDateHits(id, pageNo);
        }

        public Result ShowContent(byte modelId, int id, int pageNo)
        {
            return new CoreManage().ShowContent(modelId, id, pageNo);
        }
    }
}